package com.company.creational.factory_pattern.demo.client;

import com.company.creational.factory_pattern.demo.factory.Factory;
import com.company.creational.factory_pattern.demo.product.Product;

/**
 * @ClassName Client
 * @Author tiezheng.han
 * @Date 2020/8/26 10:38
 **/
public class Client {

    public static void main(String[] args) {
        Product product = Factory.getProduct("Matrix");
        product.methodSame();
        product.methodDiff();
    }
}
